<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:89:"F:\phpstudy_pro\WWW\www.jiefanggongyuan.com\public/../wcapps/mobile\view\index\index.html";i:1637648599;s:82:"F:\phpstudy_pro\WWW\www.jiefanggongyuan.com\wcapps\mobile\view\public\web_top.html";i:1637628974;s:78:"F:\phpstudy_pro\WWW\www.jiefanggongyuan.com\wcapps\mobile\view\public\top.html";i:1637647348;s:77:"F:\phpstudy_pro\WWW\www.jiefanggongyuan.com\wcapps\mobile\view\public\bt.html";i:1637648553;s:83:"F:\phpstudy_pro\WWW\www.jiefanggongyuan.com\wcapps\mobile\view\public\footerjs.html";i:1637629149;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title><?php echo $configs['WEBNAME']; ?></title>    
        <link rel="stylesheet" href="/static/m/layui/css/layui.css" />
<link rel="stylesheet" href="/static/m/css/main.css">
<link rel="stylesheet" href="/static/m/css/index.css">
<link rel="stylesheet" href="/static/m/css/swiper.min.css">
<script>    
    var searchUrl = "search.html";
    (function () {
        var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'; 
        var docEl = document.documentElement;
        function resizeFn() {   
            var docW = docEl.clientWidth;   
            if (docW > 750) {   
                docW = 750  
            }   
            docEl.style.fontSize = (docW * 100 / 750) + 'px';   
        }   
        resizeFn();     
        window.addEventListener(resizeEvt, resizeFn);   
    })();           
</script>
<?php 
    $backurl = request()->url(true);
 ?>
    </head>
    <body>
        <!-- 顶部 -->
        <div class="top">
    <img src="/static/m/img/logo.png" alt="华盛聚合" class="logo" />
    <div class="nav_ico">
        <img src="/static/m/img/nav_ico.png" alt="导航"/>
    </div>
</div>
<!-- 轮播图 -->
<div class="index_flash">
    <div class="swiper-container">
        <div class="swiper-wrapper">
           <?php if(is_array($flashRes) || $flashRes instanceof \think\Collection || $flashRes instanceof \think\Paginator): $i = 0; $__LIST__ = $flashRes;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
           <a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>"  class="swiper-slide">
              <img src="/<?php echo $vo['imgpath']; ?>" alt="<?php echo $vo['name']; ?>" />
           </a>
           <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
    </div>
</div>
        <div class="index_about">
            <h2>
                资讯·信息
            </h2>
            <div class="item">
                <img src="/static/m/img/1.jpg"  />
                <div class="txt">
                    <?php echo $configs['xinxigonggao1']; ?>
                </div>
            </div>
        </div>
        <div class="index_1">
            <h2>
                <div class="items">
                    <?php if(is_array($typeRes[5]) || $typeRes[5] instanceof \think\Collection || $typeRes[5] instanceof \think\Paginator): $k = 0;$__LIST__ = is_array($typeRes[5]) ? array_slice($typeRes[5],0,2, true) : $typeRes[5]->slice(0,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                    <div class="item  <?php if($k == 1): ?> active <?php endif; ?>">
                        <?php echo $vo['name']; ?>
                    </div>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
                <a href="###" class="more2">更多 &gt;</a>
            </h2>
            <div class="item-1">
                <div class="swiper-container">
                    <div class="left1">&#xe635;</div>
                    <div class="right1">&#xe636;</div>
                    <div class="swiper-wrapper">
                       <?php if(is_array($flashRes2) || $flashRes2 instanceof \think\Collection || $flashRes2 instanceof \think\Paginator): $i = 0; $__LIST__ = $flashRes2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                       <a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>"  class="swiper-slide">
                          <img src="/<?php echo $vo['imgpath']; ?>" alt="<?php echo $vo['name']; ?>" />
                          <div class="txt1"><?php echo $vo['name']; ?></div>
                       </a>
                       <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
            </div>
            <div class="item-2">
                <?php if(is_array($typeRes[5]) || $typeRes[5] instanceof \think\Collection || $typeRes[5] instanceof \think\Paginator): $k = 0;$__LIST__ = is_array($typeRes[5]) ? array_slice($typeRes[5],0,2, true) : $typeRes[5]->slice(0,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                <div <?php if($k == 1): ?> class="showdiv" <?php endif; ?>>
                    <?php 
                        $newslist = model("News")->getIndexNews($vo['id'],6);
                     if(is_array($newslist) || $newslist instanceof \think\Collection || $newslist instanceof \think\Paginator): $i = 0; $__LIST__ = $newslist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?>
                    <a href="<?php echo url('index/news/show',array('id'=>$vo2['id'])); ?>" class="item"><?php echo $vo2['name']; ?></a>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
        <div class="index_2">
            <div class="item">
                <img src="/<?php echo $abouts['imgpath']; ?>" class="pic" />
                <div class="txt">海南解放公园</div>
                <div class="txt1">
                   <?php echo $abouts['description']; ?>
                </div>
                <div class="txt3">
                    <a href="<?php echo url('mobile/about/index'); ?>" class="more2">查看更多</a>
                </div>
            </div>
        </div>
        <?php 
            $fengguanglist = model("Zhimingjingqu")->getIndexNews(98,6);
         ?>
        <div class="index_3">
            <h2>景区·风光</h2>
            <div class="items">
                <?php if(is_array($fengguanglist) || $fengguanglist instanceof \think\Collection || $fengguanglist instanceof \think\Paginator): $k = 0;$__LIST__ = is_array($fengguanglist) ? array_slice($fengguanglist,0,6, true) : $fengguanglist->slice(0,6, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;
                    $imgpaths = getImgpath($vo['imgpath_arr']);
                    $imgpath = "/static/pc/img/none.jpg";
                    if($imgpaths!="") $imgpath = "/".$imgpaths;
                 ?>  
                <a href="<?php echo url('index/zoujinjingqu/show',array('id'=>$vo['id'])); ?>" class="item">
                    <img src="<?php echo $imgpath; ?>" class="pic">
                    <div class="txt"><?php echo $vo['name']; ?></div>
                </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
        <div class="index_4">
            <h2>服务·互动</h2>
            <div class="items">
                <a href="<?php echo url('mobile/service/map'); ?>" class="item">
                    <div class="pic">&#xe9c0;</div>
                    <div class="txt">景区地图</div>
                </a>
                <a href="<?php echo url('mobile/liulanfuwu/index',array('cid'=>84)); ?>" class="item">
                    <div class="pic">&#xe9d5;</div>
                    <div class="txt">交通指南</div>
                </a>
                <a href="<?php echo url('mobile/service/index'); ?>" class="item">
                    <div class="pic">&#xe8bb;</div>
                    <div class="txt">常见问题</div>
                </a>
                <a href="<?php echo url('mobile/toushu/index'); ?>" class="item">
                    <div class="pic">&#xe60b;</div>
                    <div class="txt">在线投诉</div>
                </a>
            </div>
        </div>
        <div class="index_5">
            <h2>
                旅游·资源
            </h2>
            <div class="item-1">
                <?php if(is_array($flashRes3) || $flashRes3 instanceof \think\Collection || $flashRes3 instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($flashRes3) ? array_slice($flashRes3,0,2, true) : $flashRes3->slice(0,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                   <a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>"  class="item">
                        <img src="/<?php echo $vo['imgpath']; ?>" class="pic" />
                        <div class="txt"><?php echo $vo['name']; ?></div>
                    </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <?php if(is_array($flashRes3) || $flashRes3 instanceof \think\Collection || $flashRes3 instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($flashRes3) ? array_slice($flashRes3,2,1, true) : $flashRes3->slice(2,1, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <div class="item-2">
                <img src="/<?php echo $vo['imgpath']; ?>" class="pic" />
                <div class="txt"><?php echo $vo['name']; ?></div>
            </div>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            <div class="item-1">
                <?php if(is_array($flashRes3) || $flashRes3 instanceof \think\Collection || $flashRes3 instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($flashRes3) ? array_slice($flashRes3,3,2, true) : $flashRes3->slice(3,2, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                   <a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>"  class="item">
                        <img src="/<?php echo $vo['imgpath']; ?>" class="pic" />
                        <div class="txt"><?php echo $vo['name']; ?></div>
                    </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
        <!-- 网站底部 -->
        <div class="btbox">         
            <div class="bt2">
                网站访问量：<?php echo $configs['fangwenliang']; ?><br/>
                联系电话：<?php echo $configs['MOBILE']; ?><br/>
                Copyright 2021 © <?php echo $configs['WEBNAME']; ?> 版权所有<br/> 
                <a href="https://beian.miit.gov.cn/" target="_blank" style="color: #999;font-size: 14px;"><?php echo $configs['ICP']; ?></a>
            </div>
        </div>
        
        <!-- 导航 -->
        <!-- 导航 -->
        <nav class="wap-nav-wrap">
            <div class="wap-nav-shadow"></div>
            <div class="wap-nav">
                <ul class="nav-list">
                    <li><a href="<?php echo url('mobile/index/index'); ?>">首页</a></li>
                    <li class="active">
                       <a href="javascript:;">景区介绍 <span></span></a>
                       <dd>
                           <a href="<?php echo url('mobile/jingqujieshao/index'); ?>">景区概况</a>
                           <a href="<?php echo url('mobile/jingqurongyu/index'); ?>">景区荣誉</a>
                       </dd>
                    </li>
                    <li>
                        <a href="javascript:;">景区票务 <span></span></a>
                        <dd  style="display: block;">
                            <?php if(is_array($piaofuRes) || $piaofuRes instanceof \think\Collection || $piaofuRes instanceof \think\Paginator): $i = 0; $__LIST__ = $piaofuRes;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                              <a href="<?php echo url('mobile/jingqupiaowu/index',array('id'=>$vo['id'])); ?>"><?php echo $vo['name']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">走进景区<span></span></a>
                        <dd>
                            <?php if(is_array($typeRes[96]) || $typeRes[96] instanceof \think\Collection || $typeRes[96] instanceof \think\Paginator): $i = 0; $__LIST__ = $typeRes[96];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <a href="<?php echo url('mobile/zoujinjingqu/index',array('cid'=>$vo['id'])); ?>"><?php echo $vo['name']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                            <a href="<?php echo url('mobile/jingquyingshi/index'); ?>">景区影视</a>
                            <a href="<?php echo url('mobile/quanjing/index'); ?>">720度全景</a>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">景区攻略 <span></span></a>
                        <dd>
                            <?php if(is_array($typeRes[90]) || $typeRes[90] instanceof \think\Collection || $typeRes[90] instanceof \think\Paginator): $i = 0; $__LIST__ = $typeRes[90];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <a href="<?php echo url('mobile/jingqugonglue/index',array('cid'=>$vo['id'])); ?>"><?php echo $vo['name']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">景区资讯 <span></span></a>
                        <dd>
                            <?php if(is_array($typeRes[5]) || $typeRes[5] instanceof \think\Collection || $typeRes[5] instanceof \think\Paginator): $i = 0; $__LIST__ = $typeRes[5];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <a href="<?php echo url('mobile/news/index',array('cid'=>$vo['id'])); ?>"><?php echo $vo['name']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">浏览服务<span></span></a>
                        <dd>
                            <?php if(is_array($typeRes[81]) || $typeRes[81] instanceof \think\Collection || $typeRes[81] instanceof \think\Paginator): $i = 0; $__LIST__ = $typeRes[81];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <a href="<?php echo url('mobile/liulanfuwu/index',array('cid'=>$vo['id'])); ?>"><?php echo $vo['name']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">服务中心<span></span></a>
                        <dd>
                            <a href="<?php echo url('mobile/service/index'); ?>">常见问题</a>
                            <a href="<?php echo url('mobile/service/map'); ?>">景区地图</a>
                            <a href="<?php echo url('mobile/liuyan/index'); ?>">留言评价</a>
                            <a href="<?php echo url('mobile/toushu/index'); ?>">在线投诉</a>
                        </dd>
                    </li>
                    <li>
                        <a href="javascript:;">关于我们<span></span></a>
                        <dd>
                          <a href="<?php echo url('mobile/about/index'); ?>">公司介绍</a>
                          <a href="<?php echo url('mobile/contact/index'); ?>">联系我们</a>
                        </dd>
                    </li>
                </ul>
            </div>
        </nav>
    </body>
    <script src="/static/m/layui/layui.js"></script> 
<script src="/static/m/js/swiper.min.js"></script>
<script src="/static/m/js/main.js"></script>   
<script src="/static/pc/js/jquery-1.11.3.min.js"></script>
<script>
    var swiper = new Swiper('.index_flash .swiper-container', {
      spaceBetween: 30,
      centeredSlides: true,
      autoplay: {
        delay: 2500,
        disableOnInteraction: false,
      },
      pagination: {
        el: '.index_flash .swiper-pagination',
        clickable: true,
      },
    }); 
</script>
    <script>        
        var swiper = new Swiper('.index_1 .swiper-container', {
          spaceBetween: 30,
          centeredSlides: true,
          autoplay: {
            delay: 1500,
            disableOnInteraction: false,
          },
          navigation: {
              nextEl: '.index_1 .right1',
              prevEl: '.index_1 .left1',
            },
        });
    </script>
</html>
